<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\ProductImage
 *
 * @property int $id
 * @property int $product_id
 * @property int|null $sort
 * @property string|null $image
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProductImage whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProductImage whereImage($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProductImage whereProductId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProductImage whereSort($value)
 * @mixin \Eloquent
 */
class ProductImage extends Model
{
    CONST TYPE_BANNER = 1;  //幻灯片
    CONST TYPE_PULL_IMAGE = 0; //图片流
    //
}
